import request from '@/api/request';
import mapRequest from '@/api/mapRequest';

export function SetAreaReg(data) {
    return mapRequest({
        url: 'SetAreaReg',
        method: 'post',
        data: data
    });
}

export function SetAreaPolygonReg(data) {
    return mapRequest({
        url: 'SetAreaPolygonReg',
        method: 'post',
        data: data
    });
}

export function DelArea(data) {
    return mapRequest({
        url: 'DelArea',
        method: 'post',
        data: data
    });
}

export function SelectOnetGA(data) {
    return request({
        url: 'SelectOnetGA',
        method: 'post',
        data: data
    });
}

export function SelectOneFence(data) {
    return request({
        url: 'SelectOneFence',
        method: 'post',
        data: data
    });
}
